\WECMF_General_Template D

Total Complexity 198
Dependencies 8
Dependents 1
Total lines 1,350
Lines of code 906
Logical lines of code 512
Comment lines 345
Methods 71
Properties 6

Methods 71

Method Rating Maintainability Complexity Lines of code
prepare_preview()
A
39 11 67
wecmf_order_item_functions()
A
43 12 51
wecmf_order_table_helper()
A
49 13 26
get_shortcode_atts()
A
50 13 25
create_inline_styles()
A
45 12 38
send_test_mail()
A
50 11 25
thwecmf_email_hooks()
A
48 9 40
save_template_content()
A
51 10 25
prepare_template()
A
54 8 18
ot_shortcodes()
S
62 7 10
preview_template()
S
59 6 13
order_table_additional_td_css()
S
53 5 25
reset_preview()
S
59 5 14
downloadable_product_table()
S
48 1 61
order_table_items()
S
53 2 35
wecmf_get_reset_password_url()
S
60 3 15
wecmf_set_password_url()
S
63 3 12
wecmf_get_customer_note()
S
58 2 18
get_email_class()
S
71 3 5
get_from_address()
S
72 3 5
thwecmf_preview_email_type()
S
67 3 7
save_template_file()
S
63 3 10
insert_dynamic_data()
S
49 1 29
replace_thwecmf_placeholder_data()
S
54 1 20
php8_comaptibiltiy_css()
S
63 1 17
prepare_template_meta_data()
S
63 2 10
add_order_foot()
S
73 2 6
add_order_head()
S
67 2 9
instance()
S
72 2 6
replace_woocommerce_hooks_contents()
S
58 1 14
send_mail()
S
60 1 13
get_order_table_head()
S
67 1 12
order_table_total_loop_start()
S
67 1 12
prepare_email_content_wrapper()
S
61 1 12
order_table_item_loop_end()
S
67 1 12
order_table_total_labels()
S
77 1 4
order_table_header_price()
S
77 1 4
order_table_before_hook()
S
77 1 4
order_table_header_product()
S
77 1 4
order_table_header_qty()
S
77 1 4
no_recipient()
S
82 1 3
order_table_item_loop_start()
S
70 1 9
order_table_total_values()
S
77 1 4
order_table_after_loop()
S
77 1 4
order_table_class_filter()
S
77 1 4
order_table_items_qty()
S
77 1 4
order_table_items_price()
S
77 1 4
__construct()
S
68 1 7
wecmf_get_user_pass()
S
72 1 6
order_table_before_loop()
S
77 1 4
setup_test_mail_variables()
S
69 1 6
init_constants()
S
67 1 7
render_page()
S
77 1 4
render_content()
S
78 1 4
save_settings()
S
72 1 5
save_template_files()
S
64 1 9
get_from_name()
S
80 1 3
get_content_type()
S
82 1 3
get_th_shortcode_atts_regex()
S
82 1 3
prepare_settings()
S
70 1 6
shipping_data()
S
77 1 4
wecmf_get_customer_name()
S
68 1 8
wecmf_get_site_name()
S
77 1 4
wecmf_get_account_area_url()
S
77 1 4
wecmf_get_user_login()
S
66 1 9
wecmf_get_customer_full_name()
S
68 1 8
wecmf_get_order_created_date()
S
72 1 6
wecmf_get_order_id()
S
72 1 6
customer_data()
S
71 1 7
billing_data()
S
67 1 10
remove_harmful_styles()
S
75 1 4